WSChat\PreChatForm\Settings A

Total Complexity 74
Dependencies 9
Dependents 3
Total lines 484
Lines of code 349
Logical lines of code 176
Comment lines 25
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
form_submit()
B
39 20 57
add_field()
A
41 15 53
on_prechat_submission()
S
47 6 35
toggle_field()
S
50 5 29
rearrange()
S
51 5 26
toggle_mandatory()
S
51 4 27
save_basic_settings()
S
59 4 13
delete_field()
S
53 3 23
get_form()
S
67 3 8
get_default_data()
S
53 1 26
init()
S
57 1 16
can_user_start_a_conversation()
S
66 2 8
reset_settings()
S
64 1 10
append_settings()
S
68 1 7
save_form()
S
80 1 3
apppend_start_conversation_failed_response()
S
72 1 5
on_conversation_ended()
S
79 1 3